package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Result;
import com.example.demo.pojo.User;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;


public interface UserService extends IService<User> {
    List<Map<String,Object>> getInterId(Map<String,Object> params);

    Result register(MultipartFile[] file, Map<String, Object> paramMap, HttpServletRequest request);

    Result getUserInfo(HttpServletRequest request);

    Result upUserInfo(MultipartFile[] file, Map<String, Object> paramMap, HttpServletRequest request);

    Result getAllUser(Map<String, Object> params);

    Result deleteUser(Map<String, Object> params);

    Result getUserRole(Map<String, Object> params);

    Result inserUserRole(Map<String, Object> paramMap, HttpServletRequest request);
}
